<!DOCTYPE html>
<html lang="china">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/product.css">
    <script src="./js/jquery-3.1.1.min.js"></script>
    <title>产品信息提交页面</title>
</head>
<body>
<!-- 导航栏 -->
<div class="nav">
    <!-- <li>
        <a href="">111</a>
    </li> -->
    <div class="title">产品信息提交页面</div>
</div>

<!-- 注册面板 -->
<div class="product-container">
    <div class="product-diaproduct">
        <h3>产品信息</h3>
        <form action="product/addProduct" enctype="multipart/form-data" method="post">
            <label class="row">
                <span>产品名称</span>
                <input type="text" name="name" id="name"> </label>
            <label class="row">
                <span>产品分类</span>
                <input type="text" name="classify" id="classify"></label>
            <label class="row">
                <span>产品价格</span>
                <input type="text" name="price" id="price"  min="0.00" max="10000000.00" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')"></label>
            <label class="row" id="text-plus">
                <span>产品描述</span>
                <textarea rows="5" cols="30" name="description" id="desc">请输入产品描述</textarea>
            </label>
            <label class="row"><input type="hidden" name="MAX_FILE_SIZE" value="1024">
                <!--限制上传文件的大小和类型-->
                <!--multiple 可以同时上传多个文件-->
                <span>产品图片</span>
                <input type="file" name="imgFile" id="img" accept="image/*" multiple></label>
            <label class="row"><input type="hidden" name="MAX_FILE_SIZE" value="1024">
                <!--限制上传文件的大小和类型-->
                <!--multiple 可以同时上传多个文件-->
                <span>产品说明书</span>
                <input type="file" name="useFile" id="inst" multiple></label>
            <div class="row">
                <input type="submit" value="提交" id="submit">
            </div><br>
        </form>

    </div>
</div>

</body>
</html>